package com.hxzy.server;

import com.hxzy.dao.UserMapper;
import com.hxzy.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServer {

    @Autowired
    private UserMapper userMapper;


    public User Login(User user) {
        user = userMapper.selectOne(user);
      return  user;
    }

}
